<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:39:"./app/template/default/index/index.html";i:1627040370;s:53:"D:\wwwroot\127.0.0.5\app\template\default\header.html";i:1627040370;s:53:"D:\wwwroot\127.0.0.5\app\template\default\footer.html";i:1627040370;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title><?php echo set('titles'); ?></title>
    <meta name="keywords" content="<?php echo set('keywords'); ?>">
    <meta name="description" content="<?php echo set('description'); ?>">
        <meta name="referrer" content="never">
    <link rel="stylesheet" href="/public/admin/lib/layui/css/layui.css">
    <link rel="stylesheet" href="<?php echo m(); ?>/css/style.css?v=0.57">
    <link rel="stylesheet" href="/public/css/default.css">
	<script src="/public/js/jquery-3.4.1.min.js"></script>
    <script src="/public/admin/lib/layui/layui.js"></script>
    <script src="<?php echo m(); ?>/js/jquery.qrcode.min.js"></script>
    <script src="<?php echo m(); ?>/js/ajax-form.js?v0.09"></script>
    <!--预埋钩子-->
    <?php echo hook('indexheader'); ?>
</head>
<style>
@font-face {
  font-family: 'iconfont';  /* Project id 2675494 */
  src: url('//at.alicdn.com/t/font_2675494_xeh0qnvw1.woff2?t=1627015370316') format('woff2'),
       url('//at.alicdn.com/t/font_2675494_xeh0qnvw1.woff?t=1627015370316') format('woff'),
       url('//at.alicdn.com/t/font_2675494_xeh0qnvw1.ttf?t=1627015370316') format('truetype');
}
.iconfont{font-family:iconfont!important;font-style:normal;-webkit-font-smoothing:antialiased;-webkit-text-stroke-width:.2px;-moz-osx-font-smoothing:grayscale;margin-right:5px}
</style>
<body>
    <!-- 顶部信息 s -->
    <div class="topInfo">
        <div class="content fn-clear">
            <?php echo set('titles'); ?>
            <ul class="menu topbarlink fn-clear">
                <li>	
                    <a href="/" style="color: #f60;"><i class="iconfont">&#xe613;</i> 网站首页</a>
                    <span class="separ">|</span>
                </li>
                <?php $_result=fun_s('link',array('wz'=>1,'open'=>1),'px desc',4,0);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <li>
                    <a href="<?php echo $vo['lianjie']; ?>" <?php if($vo['xin']==1): ?>target="_blank" <?php endif; ?>><?php echo $vo['name']; ?></a>
                    <span class="separ">|</span>
                </li>
                <?php endforeach; endif; else: echo "" ;endif; if(user('userid')): ?>
                <li class="dropdown user">	
                    <a href="<?php echo url('index/user/set'); ?>"><i class="iconfont">&#xe697;</i>  会员中心 </a>
                    <div class="submenu">	
                        <a href="<?php echo url('index/user/uid',array('id'=>user('userid'))); ?>" target="_blank"><i class="iconfont">&#xe697;</i> 个人主页</a>
                        <a href="<?php echo url('index/user/set'); ?>" target="_blank"><i class="iconfont">&#xe601;</i> 基本设置</a>		
                        <a href="<?php echo url('index/user/content'); ?>" target="_blank"><i class="iconfont">&#xe6fe;</i> 个人中心</a>
                        <a url="<?php echo url('index/api/logout'); ?>" name="确实要退出登录吗" href="javascript:;" class="del_t" href="https://ihuoniao.cn/u/security.html" target="_blank"><i class="iconfont">&#xe6b0;</i> 退出登录</a>
                    </div>
                </li>
                <?php else: ?>
                <li>	
                    <a href="<?php echo url('index/user/reg'); ?>"><i class="iconfont">&#xe63e;</i> 注册账户</a><span class="separ">|</span>
                </li>
                <li>	
                    <a href="<?php echo url('index/user/login'); ?>"><i class="iconfont">&#xe6b0;</i> 账户登录</a><span class="separ">|</span>
                </li>
                <?php endif; ?>
            </ul>
        </div>
    </div>
 
    <!--顶部 s-->
    <div class="pannel-box ">
        <!--顶部搜索s-->
        <div class="top-box ">
            <div class="top">
                <div class="logo-img">
                    <img src="<?php echo set('logo'); ?>" alt="<?php echo set('title'); ?>">
                </div>
                <div class="logo-img">
                    <img src="/public/img/logof.png">
                </div>
                <div class="search-box">
                    <form method="get" action="<?php if($hover==$m): ?><?php echo url('index/model/soso',array('m'=>$m)); else: ?><?php echo url('index/index/soso'); endif; ?>" class="url">
                        <div class="label-box">
                            
                            <span <?php if($hover!=$m): ?>class="onlabel"<?php endif; ?> url="<?php echo url('index/index/soso'); ?>">文章搜索</span>
                            <?php $_result=fun_s('model',array('open'=>1),'px desc',10,false);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <span <?php if($hover==$vo['name']): ?>class="onlabel"<?php endif; ?> url="<?php echo url('index/model/soso',array('m'=>$vo['name'])); ?>"><?php echo $vo['title']; ?></span>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                            
                        </div>
                        <div class="search"><i></i>
                            <input placeholder="请输入你要搜索的关键字" name="ks" value="<?php echo input('ks'); ?>" />
                            <span class="sub-btn"><button type="submit">搜索</button></span>
                        </div>
                    </form>
                </div>
            </div>
        </div>
        <!--顶部搜索e-->
        <!--导航栏s-->
        <div class="nav-box">
            <ul class="nav">
                <li <?php if($hover=='index'): ?>class="onnav"<?php endif; ?>>
                    <a href="/">首页</a>
                </li>
                <li <?php if($hover=='cate'): ?>class="onnav"<?php endif; ?>>
                    <a href="<?php echo url('index/index/cate'); ?>">文章资讯</a>
                </li>
                <?php $_result=fun_s('model',array('open'=>1),'px desc',10,false);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <li <?php if($hover==$vo['name']): ?>class="onnav"<?php endif; ?>>
                    <a href="<?php echo url('index/model/index',array('model'=>$vo['name'])); ?>"><?php echo $vo['title']; ?></a>
                </li>
                <?php endforeach; endif; else: echo "" ;endif; ?> 
            </ul>
        </div>
        <!--导航栏e-->
    </div>
    <div class="content-box pb-10">
        <div class="content">
            <div class="focusNews fn-clear">
                <div class="focusleft fn-left">
                    <div class="adbox">
                        <div class="layui-carousel" id="hdp">
                            <div carousel-item>
                                <?php $_result=fun_s('html',array('open'=>1,'huandeng'=>1),'id desc',20,1);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <div class="layui-this">
                                    <a href="<?php echo url('index/index/html',array('id'=>$vo['id'])); ?>" target="_blank">
                                        <img src="<?php echo pic($vo['content']); ?>" width="100%" height="100%">
                                    </a>
                                </div>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </div>
                        </div>
                        <script>
                            layui.use('carousel', function() {
                                var carousel = layui.carousel;
                                carousel.render({
                                    elem: '#hdp',
                                    width: '100%',
                                    height: '160px',
                                    arrow: 'always'
                                });
                            });
                        </script> 
                    </div>
                    <div class="rightlist"> 
                        <?php $_result=fun_s('html',array('open'=>1,'settop'=>1),'times desc',8,1);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <a href="<?php echo url('index/index/html',array('id'=>$vo['id'])); ?>" title="<?php echo $vo['title']; ?>" target="_blank"><?php echo $vo['title']; ?></a>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
                <div class="focuslist">
                    <div class="itemlist"> 
                        <?php $_result=fun_s('html',array('open'=>1),'times desc',9,1);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <a <?php if($i==1): ?>class="title"<?php endif; ?> href="<?php echo url('index/index/html',array('id'=>$vo['id'])); ?>" title="<?php echo $vo['title']; ?>"><?php echo $vo['title']; ?></a>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </div>
                </div>
                <div class="focusright fn-right">
                    <div class="newmedia">
                        <h3 class="title">新加入用户</h3>
                        <ul class="medialist fn-clear">
                            <?php $_result=fun_s('member',array('open'=>1),'userid desc',9,1);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <li class="fn-left">
                                <a href="<?php echo url('index/user/uid',array('id'=>$vo['userid'])); ?>" target="_blank">
                                    <img src="<?php echo $vo['userhead']; ?>" alt="<?php echo $vo['username']; ?>">
                                    <p class="name" title="<?php echo $vo['username']; ?>"><?php echo $vo['username']; ?></p>
                                </a>
                            </li>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </div>
                </div>
            </div>
            <?php $_result=fun_s('model',array('open'=>1),'px desc',80,0);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
            <div class="ttuan_c fn-clear mb-20">
                <div class="title">
                    <div class="top-title contact-us-title"><i class="iconfont">&#xe6e7;</i><?php echo $v['title']; ?></div>
                    <a class="a" href="<?php echo url('index/model/index',array('model'=>$v['name'])); ?>">更多 <i class="iconfont">&#xe600;</i></a>
                </div>
                <?php if($v['name']=='shop'): $_result=fun_sd($v['name'],array('f.open'=>1),0,'settop desc , times desc','4,false',0,'cate_m');if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "
                <div class='empty' align='center'>
                    <img src='/public/img/empty.png'/>
                    <p>没有更多的记录</p>
                </div>" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <div class="tc_item">
                    <a href="<?php echo url('index/model/html',array('model'=>$vo['m'],'id'=>$vo['id'])); ?>">
                        <div class="img">
                            <img src="<?php echo $vo['pic']; ?>" onerror="javascript:this.src='<?php echo m(); ?>/img/pic.jpg';">
                        </div>
                        <div class="info">
                            <p class="name"><?php echo $vo['title']; ?></p>
                            <p class="count"><i class="iconfont">&#xe697;</i> <?php echo fun_st('point_note',array('tid'=>$vo['id'],'title'=>'付费阅读'.$vo['m'])); ?>人已购</p>
                            <p class="price"><i class="iconfont">&#xe605;</i><span><?php echo $vo['jifen']; ?></span>
                            </p>
                            <p class="btn"><i class="iconfont">&#xe742;</i> 去抢购</p>
                        </div>
                        <?php if($vo['settop']==1): ?><div class="tj_icon">推荐</div><?php endif; ?>
                    </a>
                </div>
                <?php endforeach; endif; else: echo "
                <div class='empty' align='center'>
                    <img src='/public/img/empty.png'/>
                    <p>没有更多的记录</p>
                </div>" ;endif; elseif(($v['name']=='dow')): ?>
                <div class="dow">
                    <ul class="ul">
                        <?php $_result=fun_sd($v['name'],array('f.open'=>1),0,'settop desc , times desc','20,false',0,'cate_m');if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "
                        <div class='empty' align='center'>
                            <img src='/public/img/empty.png'/>
                            <p>没有更多的记录</p>
                        </div>" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li class="item"> 
                            <a href="<?php echo url('index/model/html',array('model'=>$vo['m'],'id'=>$vo['id'])); ?>" target="_blank" class="img-box">
                                <img src="<?php echo $vo['pic']; ?>" alt="<?php echo $vo['title']; ?>" onerror="javascript:this.src='/favicon.ico';">
                            </a>
                            <div class="info"> 
                                <a href="<?php echo url('index/model/html',array('model'=>$vo['m'],'id'=>$vo['id'])); ?>" target="_blank" class="a"><?php echo $vo['title']; ?></a>
                                <p class="other"><i class="iconfont">&#xe614;</i><?php echo $vo['view']; ?></p>
                            </div>
                        </li>
                        <?php endforeach; endif; else: echo "
                        <div class='empty' align='center'>
                            <img src='/public/img/empty.png'/>
                            <p>没有更多的记录</p>
                        </div>" ;endif; ?>
                    </ul>
                </div>
                <?php else: ?>
                <div class="listBox wrap">
                    <ul class="zt-list fn-clear">
                        <?php $_60faaaa70ee84=fun_S('cate_m',array('tid'=>0,'m'=>$v['name'],'open'=>1,'header'=>1),'px desc','1000',1); if(is_array($_60faaaa70ee84) || $_60faaaa70ee84 instanceof \think\Collection || $_60faaaa70ee84 instanceof \think\Paginator): if( count($_60faaaa70ee84)==0 ) : echo "
                        <div class='empty' align='center'>
                            <img src='/public/img/empty.png'/>
                            <p>没有更多的记录</p>
                        </div>" ;else: foreach($_60faaaa70ee84 as $k=>$c): ?>
                        <li>
                            <div class="tit fn-clear">
                                <em class="fn-left"><?php echo $c['name']; ?></em>  
                                <a class="fn-right" target="_blank" href="<?php echo url('index/model/cate',array('alias'=>$c['alias'])); ?>">more &gt;</a>
                            </div>
                            <div class="itemlist"> 
                                <?php $_result=fun_sd($v['name'],array('f.open'=>1),$c['id'],'settop desc , times desc','5,false',0,'cate_m');if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <a target="_blank" href="<?php echo url('index/model/html',array('model'=>$vo['m'],'id'=>$vo['id'])); ?>" title="<?php echo $vo['title']; ?>"><?php echo $vo['title']; ?></a>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </div>
                        </li>
                        <?php endforeach; endif; else: echo "
                        <div class='empty' align='center'>
                            <img src='/public/img/empty.png'/>
                            <p>没有更多的记录</p>
                        </div>" ;endif; ?>
                    </ul>
                </div>
                <?php endif; ?>
            </div>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>
        <div class="fudong-right-box">
        <ul class="fudong-right">
            <li>
                <a href="<?php echo url('index/user/add'); ?>">
                </a>
            </li>
            <li class="qrcode-box">
                <div class="qrcode"></div>
            </li>
            <li class="top-icon">
                <a href="javascript:;"></a>
            </li>
        </ul>
    </div>
    <script>
        $("#qrcode,.qrcode").qrcode({
    		render: window.applicationCache ? "canvas" : "table",
    		width: 74,
    		height: 74,
    		text: '<?php echo cms('ma'); ?>'
    	});
    </script>
    <div class="footer-box">
        <ul class="footer-text">
            <div class="serve">
                <h1>底部导航</h1>
                <?php $_result=fun_s('link',array('open'=>1,'wz'=>3),'px desc',20,1);if(is_array($_result) || $_result instanceof \think\Collection || $_result instanceof \think\Paginator): $i = 0; $__LIST__ = $_result;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                <p><a <?php if($vo['xin']==1): ?>target="_blank"<?php endif; ?> href="<?php echo $vo['lianjie']; ?>"><?php echo $vo['name']; ?></a></p>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <li>
                <p style="text-align: center;">Copyright ©2021 <a style="color: #bcb7b7;" href="//www.115cms.com" target="_blank"><?php echo config('web.name'); ?> V<?php echo config('web.banben'); ?></a>All Rights Reserved.
                </p>
                <p style="text-align: center;"><?php echo set('banquan'); ?><?php echo set('tongji'); ?>
                </p>
                <p style="text-align: center;"><a href="https://beian.miit.gov.cn" target="_blank"><?php echo set('icp'); ?></a>
                </p>
            </li>
        </ul>
    </div>
    <!--预埋钩子-->
    <?php echo hook('indexfooter'); ?>
</body>

</html>